<?php
	session_start();
	$ses = $_SESSION['id_session'];
	require_once '../setting/kon.php';

	$sttmt = $koneksi->query("select sum(jumlah) as jumlah from order_temp where id_session = '$ses'");
	$hasil = $sttmt->fetch(PDO::FETCH_ASSOC);
	
	$jml = $hasil['jumlah'];
	if($jml == ""){
		$jml = 0;
	}else{
		$jml = $hasil['jumlah'];
	}
	echo "Troli (".$jml.") item";
?>